package com.zms.maze;

import java.awt.BorderLayout;
import java.awt.Container;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.UIManager;
import javax.swing.WindowConstants;

public class MazeCreator extends JFrame {
	
	private static final long serialVersionUID = 1L;
	public MazeCreator() {
		super("Maze Creator");
		this.design();
	}
	private MazeLabel label;
	private void design() {
		Container container=this.getContentPane();
		container.setLayout(new BorderLayout());
		container.add(label,BorderLayout.CENTER);
	}
	public static JFrame frame;
	public static void main(String[] args) throws Exception {
		UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		MazeCreator creator=new MazeCreator();
		frame=creator;
		creator.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
		creator.setBounds(100,100,300,300);
		creator.setVisible(true);
	}
}
